package cn.edu.zut.soft.student.model;

public class Notice {
    private Integer noticeid;

    private String noticeinfo;

    private String level;

    public Integer getNoticeid() {
        return noticeid;
    }

    public void setNoticeid(Integer noticeid) {
        this.noticeid = noticeid;
    }

    public String getNoticeinfo() {
        return noticeinfo;
    }

    public void setNoticeinfo(String noticeinfo) {
        this.noticeinfo = noticeinfo == null ? null : noticeinfo.trim();
    }

    public String getLevel() {
        return level;
    }

    public Integer getIntegerLevel() {
        return Integer.parseInt(level);
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }
}